package com.have.blog.model.models;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class UserComment implements Serializable {
    @ApiModelProperty(value = "唯一uid")
    private Integer uid;

    @ApiModelProperty(value = "用户uid")
    private Integer userUid;

    @ApiModelProperty(value = "回复某条评论的uid")
    private Integer toCommentUid;

    @ApiModelProperty(value = "回复某个人的uid")
    private Integer toUserUid;

    @ApiModelProperty(value = "评论内容")
    private String content;

    @ApiModelProperty(value = "博客uid")
    private Integer blogUid;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "评论来源： MESSAGE_BOARD，ABOUT，BLOG_INFO 等")
    private String source;

    @ApiModelProperty(value = "评论类型：1表示是独立评论，2表示是引用评论")
    private Integer type;

    @ApiModelProperty(value = "是否属于一级评论下")
    private Integer firstCommentUid;

    private static final long serialVersionUID = 1L;

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getUserUid() {
        return userUid;
    }

    public void setUserUid(Integer userUid) {
        this.userUid = userUid;
    }

    public Integer getToCommentUid() {
        return toCommentUid;
    }

    public void setToCommentUid(Integer toCommentUid) {
        this.toCommentUid = toCommentUid;
    }

    public Integer getToUserUid() {
        return toUserUid;
    }

    public void setToUserUid(Integer toUserUid) {
        this.toUserUid = toUserUid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getBlogUid() {
        return blogUid;
    }

    public void setBlogUid(Integer blogUid) {
        this.blogUid = blogUid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getFirstCommentUid() {
        return firstCommentUid;
    }

    public void setFirstCommentUid(Integer firstCommentUid) {
        this.firstCommentUid = firstCommentUid;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", uid=").append(uid);
        sb.append(", userUid=").append(userUid);
        sb.append(", toCommentUid=").append(toCommentUid);
        sb.append(", toUserUid=").append(toUserUid);
        sb.append(", content=").append(content);
        sb.append(", blogUid=").append(blogUid);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", source=").append(source);
        sb.append(", type=").append(type);
        sb.append(", firstCommentUid=").append(firstCommentUid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}